package com.qf.joint.service;

import com.github.pagehelper.PageInfo;
import com.qf.joint.pojo.Jobhunter;

import java.util.List;

public interface JobhunterService {
    public Jobhunter selectById(int id);

    public List<Jobhunter> selectAll();
    public PageInfo<Jobhunter> getJobhunterByPage(int page, int limit);
    public List<Jobhunter> selectByCon(String phone, String pass);

    public int insertOne(Jobhunter jobhunter);
    public int updateOne(Jobhunter jobhunter);
    /*后台删除一个*/
    public int deleteOne(List<String> list);

    /*根据手机号查询  id,姓名  头像  结果为1条*/
    public Jobhunter selectByPhone(String phonenum);
    /*点击姓名：显示简历：查询/姓名  /优势  */
    public Jobhunter selectByName(int id);
    /*点击工作经历，进行查询*/
    public Jobhunter selectjob(int id);
    /*点击工作经历，进行新增*/
    public int add(Jobhunter jobhunter);
    /*点击工作经历，进行修改*/
    public int update(Jobhunter jobhunter);


    /*点击设置：点击账号绑定，查询手机号 jobhunter/findphone  */
    public Jobhunter selectPhone(int id);
    /*修改手机号jobhunter/changephone*/
    public int updatePhone(Jobhunter jobhunter);

}
